package com.chushouya.manager.dto.admin.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel("保存用户信息DTO")
@Data
public class AdminUserSaveDTO {

    @ApiModelProperty("用户ID,新增不传")
    private Long adminUserId;

    @ApiModelProperty("用户账号")
    private String userName;

    @ApiModelProperty("部门ID")
    private Long deptId;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("用户昵称")
    private String nickName;

    @ApiModelProperty("手机号码")
    private String phoneNumber;

    @ApiModelProperty("用户类型")
    private Integer userType;

    @ApiModelProperty("用户邮箱")
    private String email;

    @ApiModelProperty("用户性别（0未知1男2女）")
    private Integer sex;

    @ApiModelProperty("帐号状态（1正常 0停用）")
    private Integer status;

    @ApiModelProperty("角色")
    private List<Long> roleIdList;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("额外信息")
    private String extendInfo;





}
